package com.lightsh.sensor;

import android.content.Context;

public class SensorTester {

	private BaseSensor mSensor;
	
	public SensorTester(Context context){
//		mSensor = new ProximitySensor(context);
//		mSensor = new LightSensor(context);
		mSensor = new AccelerometerSensor(context);
		try{
			mSensor.start();
		}catch(IllegalArgumentException e){
			e.printStackTrace();
		}
	}
	
	public void end(){
		mSensor.end();
	}
}
